package com.wn.class30.service.impl;

import com.wn.class30.entity.Producttype;
import com.wn.class30.mapper.ProducttypeDao;
import com.wn.class30.service.WXProductTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class WXProductTypeServiceImpl implements WXProductTypeService {
    @Resource
    private ProducttypeDao producttypeDao;
    @Override
    public List<Producttype> queryAll() {
        List<Producttype> producttypes = producttypeDao.queryAll();
        return producttypes;
    }
}
